<template>
  <div class="my">my</div>
  <customTabBar></customTabBar>
</template>

<script>
 import customTabBar from "@/components/custom-tab-bar/index.vue"
export default {
  components:{
    customTabBar
  },
  data() {
    return {
      title: '测试',
    }
  },
  onLoad() {},
  onShow() {
    // 页面显示时触发事件，通知tabbar更新状态
    uni.$emit('onShow');
  },
  methods: {},
}
</script>

<style scoped>
.my {
  padding-bottom: 50px; /* 为 tabBar 留出空间 */
}
</style>